package com.woniuxy.dudugua.controller;

import com.woniuxy.dudugua.service.BeautyService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.woniuxy.dudugua.util.Result;

import javax.annotation.Resource;

/**
 * @author JadeFang
 * @Deprecated  丽人馆
 */

@RestController
public class BeautyController {

    @Resource
    private BeautyService  beautyService;
    @RequestMapping("beauty")
    private Result selectProduct()throws  Exception{
        return new Result("200", "success", null, beautyService.selectByProduct());
    }
}
